import 'dart:collection';

import 'package:flutter/material.dart';
import 'package:flutter_basic/basic/basic_view.dart';
import 'package:flutter_basic/multi_engine/messages.dart';
import 'package:flutter_basic/multi_engine/snake_channel.dart';
import 'package:get/get.dart';

import 'controller.dart';

class SettingsPage extends BasicPage<SettingsPageController>{

  SettingsPage.bind(SettingsPageController controller, {String? tag}) : super.bind(controller, tag: tag);
  @override
  Widget build(BuildContext context) {
    bool isFirst = ModalRoute.of(context)!.isFirst;
    return Scaffold(
      appBar: AppBar(
        title: Text('设置'),
        centerTitle: true,
      ),
      body: Container(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            Container(
              alignment: Alignment.center,
                child: Text(
                  '这是一个设置页面',
                  textAlign: TextAlign.center,
                ),
            ),
          ],
        ),
      ),
    );
  }
}